package com.team.recruitment_management_system.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Schema(description = "hr信息返回类")
@Data
public class HrInfoVo {
    private Integer id;

    /**
     *
     */
    @Schema(description = "公司ID")
    private CompanyInfoVo companyInfoVo;

    /**
     *
     */
    @Schema(description = "用户ID")
    private UserInfoVo userInfoVo;

    /**
     * 真实姓名
     */
    @Schema(description = "真实姓名")
    private String realname;

    /**
     * 性别(1男2女)
     */
    @Schema(description = "性别")
    private Integer gender;

    /**
     * 在职岗位
     */
    @Schema(description = "在职岗位")
    private String job;

    /**
     * 邮箱
     */
    @Schema(description = "邮箱")
    private String email;

    /**
     * 电话
     */
    @Schema(description = "电话")
    private String phone;

    /**
     * 出生日期
     */
    @Schema(description = "出生日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date birthdate;

    /**
     * 入职日期
     */
    @Schema(description = "入职日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date onboardingTime;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    @Schema(description = "创建时间")
    private Date createTime;
}
